package com.ikun.admin.modules.gen.vo;

import com.ikun.common.validate.anno.NotEmpty;
import com.ikun.common.validate.anno.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName TableEntityAddOrUpdateVo
 * @Description:
 * @CreateDate: 2024/7/1 21:46
 */
@Data
@ApiModel("新增或者修改表属性vo")
public class TableEntityAddOrUpdateVo {

    private Long id;

    @ApiModelProperty("表id")
    @NotNull(message = "请选择需要添加字段的表")
    private Long tableId;

    @ApiModelProperty("属性集合")
//    @NotNull(message = "请填写字段信息")
//    @NotEmpty(message = "请至少添加一个字段")
    private List<TableFieldDetailVo> tableFieldDetailVoList;
}
